from django.conf import settings
from django.conf.urls.static import static
from django.urls import path

from Login_regist import views
from Login_regist.views import LoginView, RegisterView, logout

urlpatterns = [
    path('login/',LoginView.as_view(),name='login'),
    path('register/',RegisterView.as_view(),name='register'),
    path('logout/', logout, name='logout'),
    path('index/',views.index,name='index'),
    path('404/',views.not_find,name='not_find'),
    path('user_center/',views.user_center,name='user_center'),
    path("upload_avatar/",views.upload_avatar, name="upload_avatar"),
    path("set_goal/", views.set_goal, name="set_goal"),
    path("set_plan/", views.set_plan, name="set_plan"),
]
